package com.zhangh.summer.admin.support.boot.common;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2020-12-04 21:17
 **/
public enum AppConfigEnum {
    NONE("NONE","无限制"),
    MYSQL_DATASOURCE_ENABLE("MYSQL_DATASOURCE_ENABLE","使用mysql数据源"),
    REDIS_ENABLE("REDIS_ENABLE","使用redis"),
    JOB_ENABLE("JOB_ENABLE","使用JOB"),
    WEBMVC_CONFIGURATION_ENABLE("WEBMVC_CONFIGURATION_ENABLE","使用web mvc config"),
    CORS_ENABLE("CORS_ENABLE","支持跨域");

    AppConfigEnum(String code, String name){
        this.code=code;
        this.name=name;
    }

    private final String code;
    private final String name;

    public String getCode(){
        return code;
    }

    public String getName(){
        return name;
    }
}
